#include<iostream>
#include<vector>
#include<iterator>
using namespace std;
int main(){
	vector<int> scores;
	int score;
	int count [11]={0};
	cout<<"输入-1停止录入成绩"<<endl;
	while(cin>>score&&score!=-1)
	{
		scores.push_back(score);
	}
	for(auto a=scores.begin();a!=scores.end();a++){
		++count[*a/10];
	}
	for(auto i=0;i!=10;i++){
		cout<<"考试分数在"<<i*10<<"到"<<(i+1)*10<<"之间的人数为"; 
		cout<<count[i]<<endl;
	}
		cout<<"考试分数100分的人数为"; 
		cout<<count[10]<<" "<<endl;	
	return 0;
}

